package cn.stylefeng.guns.modular.hx.storage.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 备货区分配
 * </p>
 *
 * @author lww
 * @since 2023-10-23
 */
@TableName("hx_storage_center")
public class HxStorageCenter implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 备货口
     */
    @TableField("stock_port")
    private String stockPort;

    /**
     * 门店名称
     */
    @TableField("get_unit")
    private String getUnit;

    /**
     * 支付id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付id
     */
    @TableField("deliver_id")
    private Long deliverId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStockPort() {
        return stockPort;
    }

    public void setStockPort(String stockPort) {
        this.stockPort = stockPort;
    }

    public String getGetUnit() {
        return getUnit;
    }

    public void setGetUnit(String getUnit) {
        this.getUnit = getUnit;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeliverId() {
        return deliverId;
    }

    public void setDeliverId(Long deliverId) {
        this.deliverId = deliverId;
    }

    @Override
    public String toString() {
        return "HxStorageCenter{" +
                "id=" + id +
                ", stockPort=" + stockPort +
                ", getUnit=" + getUnit +
                ", deptId=" + deptId +
                ", deliverId=" + deliverId +
                "}";
    }
}
